import request from '@/utils/request'

// 查询辅导员个人获奖及专利列表
export function awardList(query) {
  return request({
    url: '/clr/award/list',
    method: 'get',
    params: query
  })
}
// 申请个人获奖及专利
export function awardAdd(query) {
  return request({
    url: '/clr/award/apply/award',
    method: 'post',
    data: query
  })
}
// 修改辅导员个人获奖及专利
export function awardUpdata(query) {
  return request({
    url: '/clr/award',
    method: 'put',
    data: query
  })
}
//获取辅导员参加培训情况申请详细信息 
export function getAward(query) {
  return request({
    url: '/clr/award/' + query,
    method: 'get',
  })
}
//删除辅导员个人获奖及专利 
export function delAward(query) {
  return request({
    url: '/clr/award/' + query,
    method: 'delete',
  })
}
//下载
export function downloadGet(query) {
  return request({
    url: '/common/download',
    method: 'get',
    params: query,
  })
}
